package com.zbkj.crmeb.image.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zbkj.crmeb.enums.ProductImageEnum;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 图片表
 * </p>
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_product_image")
@ApiModel(value="ProductImage对象", description="图片表")
public class ProductImage implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "文件夹名称")
    private String folderName;

    @ApiModelProperty(value = "色号")
    private String color;

    @ApiModelProperty(value = "内部排序")
    private String sort;

    @ApiModelProperty(value = "url")
    private String url;
    
    @ApiModelProperty(value = "类型")
    private ProductImageEnum type;
    
    @ApiModelProperty(value = "外部排序")
    private Integer typeSort;
    
    @ApiModelProperty(value = "所在域")
    private Boolean isPublic;

    @ApiModelProperty(value = "是否第一次上传（0是  1否）")
    private Integer isFirst;

}